]> dgit.raspbian.org Git - gnome-shell.git/commit
popupMenu: do not overflow the currentItems
authorAlban Browaeys <prahal@yahoo.com>
Sun, 20 May 2012 21:36:27 +0000 (23:36 +0200)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Tue, 5 Jun 2012 14:28:40 +0000 (16:28 +0200)
commitf850e92524f49fff5af809be80dbb9825eb48c66
tree594fa449eafcf22c0c182f577ee585332c36dcb5
parentcc9d53e038097e8f3de31d7f9646a768f1692bc4
popupMenu: do not overflow the currentItems

Do not overflow currentItems array. If the Menu section is filled
via model items-changed callback the position in the model passed to
the RemoteMenu _modelChanged can be a to be added asynchronously
action-added. Thus the item does not yet exists in the currentItems.

https://bugzilla.gnome.org/show_bug.cgi?id=676447
js/ui/popupMenu.js